package demo_01;

public class Main {
    public static void main(String[] args) {
        UpdateDemo_01 update = new UpdateDemo_01();
        /*update.setSql("UPDATE tbl_book_info\n" +
                "SET b_name = '周涛大哥',b_price = 888\n" +
                "WHERE b_id = 1");*/
        update.setSql("INSERT INTO tbl_book_info(b_no,b_name,b_price)\n" +
                "VALUES('250','孙文彩222',250)");
        update.updatetbl(update.getSql());
        Object duixiang = new Object();

    }
}
